package com.icinfo.cloud.provider.punish.common.seal.utils;

import java.util.List;

/**
 * 签署对象
 *
 * @author yunchao.peng
 * @create 2023-06-21 9:58
 */
public class SealBindSign {

    /**
     * fileInfo : [{"fileId":"207631402722985985","signInfo":[{"page":2,"rectangle":{"height":120,"width":120,"x":367.24,"y":681.01996},"sealInfo":{"bindCode":"506ad30e86aeeed3be76bb0518015fbd125104fbbccd8d7b481c10e0586c3f776bab7388bba53a02114bdaab0a8ec1e9"},"signBaseInfo":{"ip":"","location":"","mac":"","reason":""},"sn":0}]}]
     * thirdBizId : test
     */

    private String thirdBizId;
    private List<FileInfoBean> fileInfo;

    public String getThirdBizId() {
        return thirdBizId;
    }

    public void setThirdBizId(String thirdBizId) {
        this.thirdBizId = thirdBizId;
    }

    public List<FileInfoBean> getFileInfo() {
        return fileInfo;
    }

    public void setFileInfo(List<FileInfoBean> fileInfo) {
        this.fileInfo = fileInfo;
    }

    public static class FileInfoBean {
        /**
         * fileId : 207631402722985985
         * signInfo : [{"page":2,"rectangle":{"height":120,"width":120,"x":367.24,"y":681.01996},"sealInfo":{"bindCode":"506ad30e86aeeed3be76bb0518015fbd125104fbbccd8d7b481c10e0586c3f776bab7388bba53a02114bdaab0a8ec1e9"},"signBaseInfo":{"ip":"","location":"","mac":"","reason":""},"sn":0}]
         */

        private String fileId;
        private List<SignInfoBean> signInfo;

        public String getFileId() {
            return fileId;
        }

        public void setFileId(String fileId) {
            this.fileId = fileId;
        }

        public List<SignInfoBean> getSignInfo() {
            return signInfo;
        }

        public void setSignInfo(List<SignInfoBean> signInfo) {
            this.signInfo = signInfo;
        }

        public static class SignInfoBean {
            /**
             * page : 2
             * rectangle : {"height":120,"width":120,"x":367.24,"y":681.01996}
             * sealInfo : {"bindCode":"506ad30e86aeeed3be76bb0518015fbd125104fbbccd8d7b481c10e0586c3f776bab7388bba53a02114bdaab0a8ec1e9"}
             * signBaseInfo : {"ip":"","location":"","mac":"","reason":""}
             * sn : 0
             */

            private int page;
            private RectangleBean rectangle;
            private SealInfoBean sealInfo;
            private SignBaseInfoBean signBaseInfo;
            private int sn;

            public int getPage() {
                return page;
            }

            public void setPage(int page) {
                this.page = page;
            }

            public RectangleBean getRectangle() {
                return rectangle;
            }

            public void setRectangle(RectangleBean rectangle) {
                this.rectangle = rectangle;
            }

            public SealInfoBean getSealInfo() {
                return sealInfo;
            }

            public void setSealInfo(SealInfoBean sealInfo) {
                this.sealInfo = sealInfo;
            }

            public SignBaseInfoBean getSignBaseInfo() {
                return signBaseInfo;
            }

            public void setSignBaseInfo(SignBaseInfoBean signBaseInfo) {
                this.signBaseInfo = signBaseInfo;
            }

            public int getSn() {
                return sn;
            }

            public void setSn(int sn) {
                this.sn = sn;
            }

            public static class RectangleBean {
                /**
                 * height : 120.0
                 * width : 120.0
                 * x : 367.24
                 * y : 681.01996
                 */

                private double height;
                private double width;
                private double x;
                private double y;

                public double getHeight() {
                    return height;
                }

                public void setHeight(double height) {
                    this.height = height;
                }

                public double getWidth() {
                    return width;
                }

                public void setWidth(double width) {
                    this.width = width;
                }

                public double getX() {
                    return x;
                }

                public void setX(double x) {
                    this.x = x;
                }

                public double getY() {
                    return y;
                }

                public void setY(double y) {
                    this.y = y;
                }
            }

            public static class SealInfoBean {
                /**
                 * bindCode : 506ad30e86aeeed3be76bb0518015fbd125104fbbccd8d7b481c10e0586c3f776bab7388bba53a02114bdaab0a8ec1e9
                 */

                private String bindCode;

                public String getBindCode() {
                    return bindCode;
                }

                public void setBindCode(String bindCode) {
                    this.bindCode = bindCode;
                }
            }

            public static class SignBaseInfoBean {
                /**
                 * ip :
                 * location :
                 * mac :
                 * reason :
                 */

                private String ip;
                private String location;
                private String mac;
                private String reason;

                public String getIp() {
                    return ip;
                }

                public void setIp(String ip) {
                    this.ip = ip;
                }

                public String getLocation() {
                    return location;
                }

                public void setLocation(String location) {
                    this.location = location;
                }

                public String getMac() {
                    return mac;
                }

                public void setMac(String mac) {
                    this.mac = mac;
                }

                public String getReason() {
                    return reason;
                }

                public void setReason(String reason) {
                    this.reason = reason;
                }
            }
        }
    }
}
